package com.lyj.mode.factory.simple;

/**
 * 测试类
 * @author:liyajie
 * @createTime:2022/2/14 10:25
 * @version:1.0
 */
public class Test {
    public static void main(String[] args) {
        CakeFactory cakeFactory = new CakeFactory();
        cakeFactory.createCake("apple");
        cakeFactory.createCake("banana");
    }
}
